package com.Ajava1801D.设计模式.代理模式.动态代理.CGLIB代理;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2020/10/12  14:32
 * 描述:
 */
public class Test1801CGLIB {

    public static void  main(String[] args) {

      /* Test1801CGLIBObject test1801CGLIBObject=new Test1801CGLIBObject();

        TestHandler<Test1801CGLIBObject> testHandle=new TestHandler<>(test1801CGLIBObject);


        Test1801CGLIBObject object = testHandle.getObject(Test1801CGLIBObject.class);

        System.out.println( object.test01());;*/


        TestHandler2<Test1801CGlibInterface> test1801CGlibInterfaceTestHandler=new TestHandler2<>();

        Test1801CGlibInterface object = test1801CGlibInterfaceTestHandler.getObject(Test1801CGlibInterface.class);
        object.test();
    }

}
